package com.pearl.generator.pojo.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author TangDan
 * @version 1.0
 * @since 2022/8/8
 */
@Data
public class ServiceConfigRequest {

    @ApiModelProperty("名称")
    @NotBlank(message = "名称不能为空")
    private String name;

    @ApiModelProperty("ID")
    private Long id;

    @ApiModelProperty("设置 service 接口父类")
    private String superServiceClass;

    @ApiModelProperty("设置 service 实现类父类")
    private String superServiceImplClass;

    @ApiModelProperty("转换 service 接口文件名称")
    private String convertServiceFileName;

    @ApiModelProperty("转换 service 实现类文件名称")
    private String convertServiceImplFileName;

    @ApiModelProperty("格式化 service 接口文件名称")
    private String formatServiceFileName;

    @ApiModelProperty("格式化 service 实现类文件名称")
    private String formatServiceImplFileName;
}
